package com.yuwei.paymentdemo.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@MapperScan("com.yuwei.paymentdemo.mapper") // 持久层扫描
@EnableTransactionManagement // 启用事务管理
public class MybatisPlusConfig {
}
